
sum =1
sum0 =0
for i in range(1,21):
    sum*=i
    print(sum)
    sum0 =sum +1
    print(sum0)